<?php
$content->assign("contentGetUrl", Utils::generateSEOUrl($lang, "content", "get"));

// Options
$contentOptions = array(
	0 => array(
		"text" => "Añadir",
		"link" => Utils::generateSEOUrl($lang, "content", "add"),
		"icon" => IMAGES_URL."icons/small/white/Home.png"
	),
);
$content->assign("contentOptions", $contentOptions);

// Content
$sections = $db->getSections($lang);
for ($i=0; $i<count($sections); $i++) {
	if (empty($sections[$i]["name"])) {
		$sections[$i]["name"] = "[".$sections[$i]["alias"]."]";
	}
}
$content->assign("sections", $sections);
?>
